@extends('admin.main')
@section('content')
    <div class="admin-content">
        <div class="admin-content-body">
            {{--@include('admin.layouts.crumb')--}}
            <div class="am-cf am-padding am-padding-bottom-0">
                <div class="am-fl am-cf">
                    <strong class="am-text-primary am-text-lg">后台设置</strong>
                    /
                    <strong class="am-text-primary am-text-lg">登陆记录</strong>
                    {{--/ <small>管理员</small>--}}
                </div>
            </div>
            <hr>
            <div class="am-g">
                <div class="am-u-sm-12 am-u-md-6">
                    <div class="am-btn-toolbar">
                        <div class="am-btn-group am-btn-group-xs">
                            <a href="javascript:;" onclick="history.go(-1);">
                                <button type="button" class="am-btn am-btn-default">
                                    <span class="am-icon-file"></span> 返回
                                </button>
                            </a>
                        </div>
                    </div>
                </div>
            </div>

            <div class="am-g">
                <div class="am-u-sm-12">
                    <table class="am-table am-table-striped am-table-hover table-main">
                        <thead>
                        <tr>
                            <th class="table-check"><input type="checkbox" /></th>
                            <th class="table-id">ID</th>
                            <th class="table-title">管理员名称</th>
                            {{--<th class="table-type">登陆状态</th>--}}
                            {{--<th class="table-author am-hide-sm-only">登出状态</th>--}}
                            <th class="table-date am-hide-sm-only">创建日期</th>
                            {{--<th class="table-set">操作</th>--}}
                        </tr>
                        </thead>
                        <tbody>
                        @foreach($datas as $data)
                        <tr>
                            <td><input type="checkbox"/></td>
                            <td>{{$data->id}}</td>
                            <td><a href="javascript:;">{{$data->getAdminName()}}</a></td>
                            {{--<td>{{$data->getInStatusName()}}</td>--}}
                            {{--<td class="am-hide-sm-only">{{$data->getOutStatusName()}}</td>--}}
                            <td class="am-hide-sm-only">{{$data->loginTime()}}</td>
                            {{--<td></td>--}}
                        </tr>
                        @endforeach
                        </tbody>
                    </table>
                    @include('admin.layouts.page')
                </div>
            </div>
        </div>
    </div>
@stop